<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class BpmInsUserList extends Model
{
    use HasFactory;

    protected $table = 'bpm_insuserlist';

    protected $connection = 'bpm_rs';

    public function cname()
    {
        return $this->hasOne(BpmOrgUserList::class,'userid','Userid');
    }
}
